package org.girllee.boot.hystrix.controller;

import org.springframework.boot.web.servlet.error.ErrorController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.filter.CharacterEncodingFilter;

@RestController
@RequestMapping("err")
public class ErrController {

    ErrorController ec;
    CharacterEncodingFilter characterEncodingFilter;
    @GetMapping("x")
    public Object getObje(){
        throw new RuntimeException("No body.");
    }
}


